package com.fyzk.bean;

import com.fyzk.activity.lottery.jc.football.JCInfo;

import java.util.ArrayList;
import java.util.List;

public class JCZQResponseInfo implements Cloneable {

    public JCZQResponseInfo() {

    }

    public int lotteryType; // "3001",
    public String matchWeekday = ""; // "周三",
    public String phaseNo = ""; // "20141126",
    public String matchTime = ""; // "2014-11-26",
    public List<JCInfo> matchDatas = new ArrayList<JCInfo>();

    public JCZQResponseInfo copy() {
        JCZQResponseInfo info = new JCZQResponseInfo();
        info.lotteryType = this.lotteryType;
        info.matchWeekday = this.matchWeekday;
        info.phaseNo = this.phaseNo;
        info.matchTime = this.matchTime;
        info.matchDatas = new ArrayList<JCInfo>();
        return info;
    }

    @Override
    public boolean equals(Object o) {
        // TODO Auto-generated method stub
        if (this.phaseNo.equals(((JCZQResponseInfo) o).phaseNo)) {
            return true;
        }
        return super.equals(o);
    }
}